package com.eastfair.venuebooking.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.core.base.R;
import com.eastfair.core.exception.BizException;
import com.eastfair.venueservice.dto.ServiceProviderSpaceDTO;
import com.eastfair.venueservice.dto.ServiceProviderSpaceQuery;
import com.eastfair.venueservice.dto.SpaceAcceptanceQuery;
import com.eastfair.venueservice.vo.SpaceAcceptanceVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 展会服务商展厅关系Feign
 * @author linan
 */
@FeignClient(value = "venue-services-manage/spaceAcceptance")
public interface SpaceAcceptanceFeign {


    /**
     * 查询验收申请
     * @param query
     * @return
     */
    @ApiOperation(value = "查询验收申请")
    @PostMapping(value = "/querySpaceAcceptance")
    R<Page<SpaceAcceptanceVO>> querySpaceAcceptance(@RequestBody PageParams<SpaceAcceptanceQuery> query);

}
